package arrays;

import java.util.Arrays;

import net.mindview.util.Generated;
import net.mindview.util.Generator;

public class Ex15{

	 class BerylliumSphereGenerator implements Generator<BerylliumSphere>{
		public BerylliumSphere next() {
			return new BerylliumSphere();
		}
	}
	
	public static void main(String[] args) {
		Ex15 e = new Ex15();
		method();
		
	}

	private static void method() {
		BerylliumSphere[] b = Generated.array(BerylliumSphere.class,new Ex15().new BerylliumSphereGenerator(), 5);
		System.out.println(Arrays.toString(b));
	}
}	
